import axios from "axios";

const  request = axios.create({
  baseURL: "http://81.71.0.172:30100/",
  timeout: 5000,
})

request.interceptors.response.use(res => {
  if (res.status !== 200) {
    return Promise.reject(res)
  }
  if (res.data.code !== 200) {
  }
  return res.data
})




export default {
  request
}
